package com.jcsz.gulimall.seckill.feign;

import com.jcsz.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @className: ProductFeignService
 * @author: 一把Po吉他
 * @date: 2022/11/17 23:36
 * @version: 1.0
 **/
@FeignClient("gulimall-product")
public interface ProductFeignService {
    @RequestMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
